package com.niuwa.p2p.entity.yeepay;

import java.math.BigDecimal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import com.niuwa.p2p.core.constant.YeePayFeeModeEnum;

@XmlRootElement(name = "request")
@XmlAccessorType(XmlAccessType.FIELD)
public class YeePayWithdrawRequest extends YeePayLoginRequest {

	private YeePayFeeModeEnum feeMode; //【必须】

	private BigDecimal amount; //【非必须】提现金额，如果不传则由用户输入金额
	
	private String expired;  // 【非必须】超过此时间即不允许提现
	
	private String withdrawType ; //【非必须】 提现模式 如选择加急提现，此字段必须填写“URGENT” [NORMAL:正常提现，T+1天到账;URGENT:加急提现,T+0当日到账]

	private String custId;//【必须】
	
	public YeePayFeeModeEnum getFeeMode() {
		return feeMode;
	}

	public void setFeeMode(YeePayFeeModeEnum feeMode) {
		this.feeMode = feeMode;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getExpired() {
		return expired;
	}

	public void setExpired(String expired) {
		this.expired = expired;
	}

	public String getWithdrawType() {
		return withdrawType;
	}

	public void setWithdrawType(String withdrawType) {
		this.withdrawType = withdrawType;
	}

	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}
}
